nth term in Geometric Sequence calculator